<%-- 
    Document   : signupsuccess
    Created on : Feb 27, 2014, 2:49:34 PM
    Author     : thabtemichael
--%>



<!DOCTYPE html>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Sign up Success</title>
        <link type="text/css" href="forum.css" rel="stylesheet">
    </head>
    <body>
        <div id="main"> 
            <h1> Hello ${Account.name} You Signed up successfully!! please check the info below </h1>
            <ul>
                <li> <strong>Username : </strong> ${Account.name}</li>
                <li><strong> Email: </strong>${Account.email}</li>
                <li> <strong>Rank: </strong>${Account.rank}</li>                    
            </ul>
            <h1>Currently the following peoples are Registered in our system</h1>
            <table>
                <tr>
                    <th> Users name</th> <th> Email Address </th> <th> Rank</th>
                </tr>
                <c:forEach var="acc" items="${Database.accounts}">                       
                    <tr>
                        <td>${acc.name}</td><td>${acc.email}</td><td>${acc.rank}</td>
                    </tr>
                </c:forEach>
            </table>
            <form action="signupsucess" method="get">
                <input type="submit" value="Home">
            </form>
        </form>
    </div>
</body>
</html>
